/*
 * Cylinder.h
 *
 *  Created on: 18/05/2011
 *      Author: jorge
 */

#ifndef CYLINDER_H_
#define CYLINDER_H_

#include "../geometry/Vector3D.h"
using namespace geometry;

namespace graphics {

class Cylinder {
	float radio;
	Vector3D color;
	Vector3D left;
	Vector3D right;
public:
	Cylinder();
	Cylinder(Vector3D left, Vector3D right);
	virtual ~Cylinder();
	void setColor(const Vector3D& c);
	void setEdges(const Vector3D& left, const Vector3D& right);
	void setRadio(float radio);
	void draw();
	const Vector3D getColor() const;
	float getRadio() const;
	float getHeight() const;
};

}

#endif /* CYLINDER_H_ */
